package com.quwan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.quwan.entity.TMemberDynamic;
import com.quwan.manager.controller.dto.MemberDynamicDTO;
import org.apache.ibatis.annotations.Param;

import java.util.Map;


/**
*
*
* @author quan
* @date 2021-07-23 17:31
*/
 

public interface TMemberDynamicMapper extends BaseMapper<TMemberDynamic> {
   Page<Map> selectMemberDynamicList(Page<TMemberDynamic> objectPage,
                                     @Param("mId") String mId,
                                     @Param("status") String status,
                                     @Param("type") String type,
                                     @Param("currMember") String currMember
   );

   Page<MemberDynamicDTO> selectMemberDynamicListAfter(Page<TMemberDynamic> objectPage,
                                                        @Param("mId") String mId,
                                                        @Param("name") String name,
                                                        @Param("beginTime") String beginTime,
                                                        @Param("endTime") String endTime);

    Page<Map> selectMemberDynamicById(Page objectPage,
                                      @Param("curr") String id,
                                     @Param("target") String mId);
}